<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.16"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibTools: H:/project/LibTools/src/stream/StreamByte.cpp 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibTools
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.16 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','搜索');
});
/* @license-end */</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_090521d29e73b40f7fc0a63254d8965e.html">stream</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">StreamByte.cpp</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_stream_byte_8cpp.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_stream_byte_8h.html">StreamByte.h</a>&quot;</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#include &lt;utility&gt;</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160; </div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<a class="code" href="tools_8h.html#a201ce692c9dca6599e5c12d00167419b">DEF_BEG_LIBTOOLS</a></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160; </div>
<div class="line"><a name="l00006"></a><span class="lineno"><a class="line" href="class_c_stream_iteator.html#a45891a9a8ac52a2eb90122276561506f">    6</a></span>&#160;<a class="code" href="class_c_stream_iteator.html#a45891a9a8ac52a2eb90122276561506f">CStreamIteator::CStreamIteator</a>() :_beg(<a class="code" href="tools_8h.html#ab689500aaec0db066e3ac9483d3fe425">NullPtr</a>), _end(<a class="code" href="tools_8h.html#ab689500aaec0db066e3ac9483d3fe425">NullPtr</a>)</div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;{</div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160; </div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;}</div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160; </div>
<div class="line"><a name="l00011"></a><span class="lineno"><a class="line" href="class_c_stream_iteator.html#af9cd74c006987ac3d233fb04b70ebd1a">   11</a></span>&#160;<a class="code" href="class_c_stream_iteator.html#a45891a9a8ac52a2eb90122276561506f">CStreamIteator::CStreamIteator</a>(<span class="keywordtype">char</span>* b, <span class="keywordtype">char</span>* e) : _beg(b), _end(e)</div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;{</div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160; </div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;}</div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160; </div>
<div class="line"><a name="l00016"></a><span class="lineno"><a class="line" href="class_c_stream_iteator.html#ac1a4325cec7f2bdbcf0f32684e0d12d8">   16</a></span>&#160;<span class="keywordtype">size_t</span> <a class="code" href="class_c_stream_iteator.html#ac1a4325cec7f2bdbcf0f32684e0d12d8">CStreamIteator::size</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;    <span class="keywordflow">return</span> (<a class="code" href="class_c_stream_iteator.html#a87ac0d95049747df7fe2a7b51662aa8e">_end</a> - <a class="code" href="class_c_stream_iteator.html#a0b71495cd931b33334f1c1fe3f5f1787">_beg</a>);</div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;}</div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160; </div>
<div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="class_c_stream_iteator.html#a0099f615b4deffd3273c9c4d7cae4a91">   21</a></span>&#160;<span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="class_c_stream_iteator.html#a0099f615b4deffd3273c9c4d7cae4a91">CStreamIteator::cbegin</a>()<span class="keyword"> const </span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="class_c_stream_iteator.html#a0b71495cd931b33334f1c1fe3f5f1787">_beg</a>;</div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;}</div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160; </div>
<div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="class_c_stream_iteator.html#abd398f0c306bb0d8090328abdf29580a">   26</a></span>&#160;<span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="class_c_stream_iteator.html#abd398f0c306bb0d8090328abdf29580a">CStreamIteator::cend</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="class_c_stream_iteator.html#a87ac0d95049747df7fe2a7b51662aa8e">_end</a>;</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;}</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160; </div>
<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="class_c_stream_iteator.html#ade5aeae600da801ff23baeb56d99c249">   31</a></span>&#160;<span class="keywordtype">char</span>* <a class="code" href="class_c_stream_iteator.html#ade5aeae600da801ff23baeb56d99c249">CStreamIteator::begin</a>()</div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;{</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="class_c_stream_iteator.html#a0b71495cd931b33334f1c1fe3f5f1787">_beg</a>;</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;}</div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160; </div>
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="class_c_stream_iteator.html#ae048daef59e1657314660005959e88e7">   36</a></span>&#160;<span class="keywordtype">char</span>* <a class="code" href="class_c_stream_iteator.html#ae048daef59e1657314660005959e88e7">CStreamIteator::end</a>()</div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;{</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="class_c_stream_iteator.html#a87ac0d95049747df7fe2a7b51662aa8e">_end</a>;</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;}</div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160; </div>
<div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="class_c_stream_buffer.html#ac9c6fd17ad2026709db6a80aa7346e42">   41</a></span>&#160;<a class="code" href="class_c_stream_buffer.html#ac9c6fd17ad2026709db6a80aa7346e42">CStreamBuffer::CStreamBuffer</a>() :_data(<a class="code" href="tools_8h.html#ab689500aaec0db066e3ac9483d3fe425">NullPtr</a>), _size(0), _max(0)</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;{</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;}</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160; </div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="class_c_stream_buffer.html#a8f95f0119554dd73b6b86edac26bf422">   45</a></span>&#160;<a class="code" href="class_c_stream_buffer.html#ac9c6fd17ad2026709db6a80aa7346e42">CStreamBuffer::CStreamBuffer</a>(<span class="keywordtype">size_t</span> size) :_data(<a class="code" href="tools_8h.html#ab689500aaec0db066e3ac9483d3fe425">NullPtr</a>), _size(0), _max(0)</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;{</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;    <a class="code" href="class_c_stream_buffer.html#a5397e21fdb40d00694312ffc652df314">assign</a>(<a class="code" href="class_c_stream_buffer.html#aa142871df4960e4d17167f56de651469">size</a>);</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;}</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160; </div>
<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="class_c_stream_buffer.html#a224b9bbe67ebe65f3a4b5867ec3acb91">   50</a></span>&#160;<a class="code" href="class_c_stream_buffer.html#ac9c6fd17ad2026709db6a80aa7346e42">CStreamBuffer::CStreamBuffer</a>(<span class="keyword">const</span> <a class="code" href="class_c_stream_buffer.html">CStreamBuffer</a>&amp; st) : _data(<a class="code" href="tools_8h.html#ab689500aaec0db066e3ac9483d3fe425">NullPtr</a>), _size(0), _max(0)</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;{</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;    *<span class="keyword">this</span> = st;</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;}</div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160; </div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;<span class="preprocessor">#ifdef STD11</span></div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;<a class="code" href="class_c_stream_buffer.html#ac9c6fd17ad2026709db6a80aa7346e42">CStreamBuffer::CStreamBuffer</a>(<a class="code" href="class_c_stream_buffer.html">CStreamBuffer</a>&amp;&amp; st) :_data(<a class="code" href="tools_8h.html#ab689500aaec0db066e3ac9483d3fe425">NullPtr</a>), _size(0), _max(0)</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;{</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;    *<span class="keyword">this</span> = std::move(st);</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;}</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160; </div>
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="class_c_stream_buffer.html#a1393d5c0b1a25daa0ae90ba9c4952bb2">   62</a></span>&#160;<a class="code" href="class_c_stream_buffer.html#a1393d5c0b1a25daa0ae90ba9c4952bb2">CStreamBuffer::~CStreamBuffer</a>()</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;{</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;    <a class="code" href="class_c_stream_buffer.html#a3b39de36fc32da3c0d02bd1f2d032034">clear</a>();</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;}</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160; </div>
<div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="class_c_stream_buffer.html#a3b39de36fc32da3c0d02bd1f2d032034">   67</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_c_stream_buffer.html#a3b39de36fc32da3c0d02bd1f2d032034">CStreamBuffer::clear</a>()</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;{</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="class_c_stream_buffer.html#a101b52acd1aa627d6c5b1c5142e83731">_data</a>){</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;        <span class="keyword">delete</span>[] <a class="code" href="class_c_stream_buffer.html#a101b52acd1aa627d6c5b1c5142e83731">_data</a>;</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;    }</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;     <a class="code" href="class_c_stream_buffer.html#a101b52acd1aa627d6c5b1c5142e83731">_data</a> = <a class="code" href="tools_8h.html#ab689500aaec0db066e3ac9483d3fe425">NullPtr</a>;</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;     <a class="code" href="class_c_stream_buffer.html#a5401559e6e6a78fd0a7f6613368ac2b0">_size</a> = 0;</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;     <a class="code" href="class_c_stream_buffer.html#ad7cf1ca44456ef1435250109cee1bee5">_max</a> = 0;</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;}</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160; </div>
<div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="class_c_stream_buffer.html#a5397e21fdb40d00694312ffc652df314">   77</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_c_stream_buffer.html#a5397e21fdb40d00694312ffc652df314">CStreamBuffer::assign</a>(<span class="keywordtype">size_t</span> size)</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;{</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="class_c_stream_buffer.html#ad7cf1ca44456ef1435250109cee1bee5">_max</a> &lt; <a class="code" href="class_c_stream_buffer.html#aa142871df4960e4d17167f56de651469">size</a>)</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;    {</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;        <span class="keywordflow">if</span> (<a class="code" href="class_c_stream_buffer.html#a101b52acd1aa627d6c5b1c5142e83731">_data</a>) {</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;            <span class="keyword">delete</span>[] <a class="code" href="class_c_stream_buffer.html#a101b52acd1aa627d6c5b1c5142e83731">_data</a>;</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;        }</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;        <a class="code" href="class_c_stream_buffer.html#a101b52acd1aa627d6c5b1c5142e83731">_data</a> = <span class="keyword">new</span> <span class="keywordtype">char</span>[<a class="code" href="class_c_stream_buffer.html#aa142871df4960e4d17167f56de651469">size</a>];</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;        <a class="code" href="class_c_stream_buffer.html#ad7cf1ca44456ef1435250109cee1bee5">_max</a> = <a class="code" href="class_c_stream_buffer.html#aa142871df4960e4d17167f56de651469">size</a>;</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;    }</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;    <a class="code" href="class_c_stream_buffer.html#a5401559e6e6a78fd0a7f6613368ac2b0">_size</a> = <a class="code" href="class_c_stream_buffer.html#aa142871df4960e4d17167f56de651469">size</a>;</div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;}</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160; </div>
<div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="class_c_stream_buffer.html#a36e220632732abe7840dd9fbb18511b8">   90</a></span>&#160;<span class="keywordtype">size_t</span> <a class="code" href="class_c_stream_buffer.html#a36e220632732abe7840dd9fbb18511b8">CStreamBuffer::capacity</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="class_c_stream_buffer.html#ad7cf1ca44456ef1435250109cee1bee5">_max</a>;</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;}</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160; </div>
<div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="class_c_stream_buffer.html#a96a491510c5e9f98e0bdb382b87a72e9">   95</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_c_stream_buffer.html#a96a491510c5e9f98e0bdb382b87a72e9">CStreamBuffer::reserve</a>(<span class="keywordtype">size_t</span> size)</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;{</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="class_c_stream_buffer.html#a101b52acd1aa627d6c5b1c5142e83731">_data</a>) {</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;        <span class="keyword">delete</span>[] <a class="code" href="class_c_stream_buffer.html#a101b52acd1aa627d6c5b1c5142e83731">_data</a>;</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;    }</div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;     <a class="code" href="class_c_stream_buffer.html#a101b52acd1aa627d6c5b1c5142e83731">_data</a> = <span class="keyword">new</span> <span class="keywordtype">char</span>[<a class="code" href="class_c_stream_buffer.html#aa142871df4960e4d17167f56de651469">size</a>];</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;     <a class="code" href="class_c_stream_buffer.html#ad7cf1ca44456ef1435250109cee1bee5">_max</a> = <a class="code" href="class_c_stream_buffer.html#aa142871df4960e4d17167f56de651469">size</a>;</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;     <a class="code" href="class_c_stream_buffer.html#a5401559e6e6a78fd0a7f6613368ac2b0">_size</a> = <a class="code" href="class_c_stream_buffer.html#aa142871df4960e4d17167f56de651469">size</a>;</div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;}</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160; </div>
<div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="class_c_stream_buffer.html#a1fcd174f108c8fc5f486c4aa5656d745">  105</a></span>&#160;<span class="keywordtype">char</span>* <a class="code" href="class_c_stream_buffer.html#a1fcd174f108c8fc5f486c4aa5656d745">CStreamBuffer::data</a>()</div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;{</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="class_c_stream_buffer.html#a101b52acd1aa627d6c5b1c5142e83731">_data</a>;</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;}</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160; </div>
<div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="class_c_stream_buffer.html#a1b26d5da14524319ee316b2d9d483745">  110</a></span>&#160;<span class="keywordtype">char</span>* <a class="code" href="class_c_stream_buffer.html#a1b26d5da14524319ee316b2d9d483745">CStreamBuffer::begin</a>()</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;{</div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="class_c_stream_buffer.html#a101b52acd1aa627d6c5b1c5142e83731">_data</a>;</div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;}</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160; </div>
<div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="class_c_stream_buffer.html#a73f9a99a28456cb04114ab30269a1470">  115</a></span>&#160;<span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="class_c_stream_buffer.html#a73f9a99a28456cb04114ab30269a1470">CStreamBuffer::cbegin</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;    <span class="keywordflow">return</span> (<span class="keyword">const</span> <span class="keywordtype">char</span>*)<a class="code" href="class_c_stream_buffer.html#a101b52acd1aa627d6c5b1c5142e83731">_data</a>;</div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;}</div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160; </div>
<div class="line"><a name="l00120"></a><span class="lineno"><a class="line" href="class_c_stream_buffer.html#ac9b9bd381177307ec3386bc72b9a3ab6">  120</a></span>&#160;<span class="keywordtype">char</span>* <a class="code" href="class_c_stream_buffer.html#ac9b9bd381177307ec3386bc72b9a3ab6">CStreamBuffer::end</a>()</div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;{</div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="class_c_stream_buffer.html#a101b52acd1aa627d6c5b1c5142e83731">_data</a> + <a class="code" href="class_c_stream_buffer.html#a5401559e6e6a78fd0a7f6613368ac2b0">_size</a>;</div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;}</div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160; </div>
<div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="class_c_stream_buffer.html#a53dc5d1a0c14f468da849de5376aec1d">  125</a></span>&#160;<span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="class_c_stream_buffer.html#a53dc5d1a0c14f468da849de5376aec1d">CStreamBuffer::cend</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;    <span class="keywordflow">return</span> (<span class="keyword">const</span> <span class="keywordtype">char</span>*)(<a class="code" href="class_c_stream_buffer.html#a101b52acd1aa627d6c5b1c5142e83731">_data</a> + <a class="code" href="class_c_stream_buffer.html#a5401559e6e6a78fd0a7f6613368ac2b0">_size</a>);</div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;}</div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160; </div>
<div class="line"><a name="l00130"></a><span class="lineno"><a class="line" href="class_c_stream_buffer.html#aa142871df4960e4d17167f56de651469">  130</a></span>&#160;<span class="keywordtype">size_t</span> <a class="code" href="class_c_stream_buffer.html#aa142871df4960e4d17167f56de651469">CStreamBuffer::size</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="class_c_stream_buffer.html#a5401559e6e6a78fd0a7f6613368ac2b0">_size</a>;</div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;}</div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160; </div>
<div class="line"><a name="l00135"></a><span class="lineno"><a class="line" href="class_c_stream_buffer.html#a87fd2d92ca97257926f42f75df1884a5">  135</a></span>&#160;<span class="keywordtype">char</span>&amp; <a class="code" href="class_c_stream_buffer.html#a87fd2d92ca97257926f42f75df1884a5">CStreamBuffer::operator[] </a>(<span class="keywordtype">int</span> pos)</div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;{</div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="class_c_stream_buffer.html#a101b52acd1aa627d6c5b1c5142e83731">_data</a>[pos];</div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;}</div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160; </div>
<div class="line"><a name="l00140"></a><span class="lineno"><a class="line" href="class_c_stream_buffer.html#aefd57bfd8401563211efc678d65e3efd">  140</a></span>&#160;<span class="keywordtype">char</span> <a class="code" href="class_c_stream_buffer.html#a87fd2d92ca97257926f42f75df1884a5">CStreamBuffer::operator[] </a>(<span class="keywordtype">int</span> pos)<span class="keyword"> const</span></div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;    <span class="keywordtype">char</span> ch = <a class="code" href="class_c_stream_buffer.html#a101b52acd1aa627d6c5b1c5142e83731">_data</a>[pos];</div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;    <span class="keywordflow">return</span> ch;</div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;}</div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160; </div>
<div class="line"><a name="l00146"></a><span class="lineno"><a class="line" href="class_c_stream_buffer.html#ae4d72e489f374e26b874025b5d88a6f4">  146</a></span>&#160;<a class="code" href="class_c_stream_buffer.html">CStreamBuffer</a>&amp; <a class="code" href="class_c_stream_buffer.html#ae4d72e489f374e26b874025b5d88a6f4">CStreamBuffer::operator= </a>(<span class="keyword">const</span> <a class="code" href="class_c_stream_buffer.html">CStreamBuffer</a>&amp; st)</div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;{</div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;    <span class="keywordflow">if</span> (<span class="keyword">this</span> != &amp;st){</div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;        <a class="code" href="class_c_stream_buffer.html#a805cc466a664d1f533d1c8617bc49f36">copy_mem</a>(st.<a class="code" href="class_c_stream_buffer.html#a101b52acd1aa627d6c5b1c5142e83731">_data</a>, st.<a class="code" href="class_c_stream_buffer.html#aa142871df4960e4d17167f56de651469">size</a>());</div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;    }</div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;    <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;}</div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160; </div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;<span class="preprocessor">#ifdef STD11</span></div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;<a class="code" href="class_c_stream_buffer.html">CStreamBuffer</a>&amp; <a class="code" href="class_c_stream_buffer.html#ae4d72e489f374e26b874025b5d88a6f4">CStreamBuffer::operator= </a>(<a class="code" href="class_c_stream_buffer.html">CStreamBuffer</a>&amp;&amp; st)</div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;{</div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;    <span class="keywordflow">if</span> (<span class="keyword">this</span> != &amp;st)</div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;    {</div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;        <a class="code" href="class_c_stream_buffer.html#a3b39de36fc32da3c0d02bd1f2d032034">clear</a>();</div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;        std::swap(<a class="code" href="class_c_stream_buffer.html#a101b52acd1aa627d6c5b1c5142e83731">_data</a>, st._data);</div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;        std::swap(<a class="code" href="class_c_stream_buffer.html#a5401559e6e6a78fd0a7f6613368ac2b0">_size</a>, st._size);</div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;        std::swap(<a class="code" href="class_c_stream_buffer.html#ad7cf1ca44456ef1435250109cee1bee5">_max</a>, st._max);</div>
<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;    }</div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160; </div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;    <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;}</div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;<span class="preprocessor">#endif // STD11</span></div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160; </div>
<div class="line"><a name="l00169"></a><span class="lineno"><a class="line" href="class_c_stream_buffer.html#ad1801dff132d9c876d827510d457eedc">  169</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_c_stream_buffer.html#ad1801dff132d9c876d827510d457eedc">CStreamBuffer::swap</a>(<a class="code" href="class_c_stream_buffer.html">CStreamBuffer</a>&amp; st)</div>
<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;{</div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;    std::swap(<a class="code" href="class_c_stream_buffer.html#a101b52acd1aa627d6c5b1c5142e83731">_data</a>, st.<a class="code" href="class_c_stream_buffer.html#a101b52acd1aa627d6c5b1c5142e83731">_data</a>);</div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;    std::swap(<a class="code" href="class_c_stream_buffer.html#a5401559e6e6a78fd0a7f6613368ac2b0">_size</a>, st.<a class="code" href="class_c_stream_buffer.html#a5401559e6e6a78fd0a7f6613368ac2b0">_size</a>);</div>
<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;    std::swap(<a class="code" href="class_c_stream_buffer.html#ad7cf1ca44456ef1435250109cee1bee5">_max</a>, st.<a class="code" href="class_c_stream_buffer.html#ad7cf1ca44456ef1435250109cee1bee5">_max</a>);</div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;}</div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160; </div>
<div class="line"><a name="l00176"></a><span class="lineno"><a class="line" href="class_c_stream_buffer.html#a805cc466a664d1f533d1c8617bc49f36">  176</a></span>&#160;<span class="keyword">const</span> <span class="keywordtype">void</span>* <a class="code" href="class_c_stream_buffer.html#a805cc466a664d1f533d1c8617bc49f36">CStreamBuffer::copy_mem</a>(<span class="keyword">const</span> <span class="keywordtype">void</span>* dst, <span class="keywordtype">size_t</span> size)</div>
<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;{</div>
<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;    <a class="code" href="class_c_stream_buffer.html#a5397e21fdb40d00694312ffc652df314">assign</a>(<a class="code" href="class_c_stream_buffer.html#aa142871df4960e4d17167f56de651469">size</a>);</div>
<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;    memcpy(<a class="code" href="class_c_stream_buffer.html#a101b52acd1aa627d6c5b1c5142e83731">_data</a>, dst, <a class="code" href="class_c_stream_buffer.html#aa142871df4960e4d17167f56de651469">size</a>);</div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;    <span class="keywordflow">return</span> dst;</div>
<div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;}</div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160; </div>
<div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;<a class="code" href="tools_8h.html#ac909db71799bb22cb7d636a34cd785e4">DEF_END_LIBTOOLS</a></div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="aclass_c_stream_iteator_html_a87ac0d95049747df7fe2a7b51662aa8e"><div class="ttname"><a href="class_c_stream_iteator.html#a87ac0d95049747df7fe2a7b51662aa8e">CStreamIteator::_end</a></div><div class="ttdeci">char * _end</div><div class="ttdef"><b>Definition:</b> <a href="_stream_byte_8h_source.html#l00034">StreamByte.h:34</a></div></div>
<div class="ttc" id="aclass_c_stream_buffer_html_a5401559e6e6a78fd0a7f6613368ac2b0"><div class="ttname"><a href="class_c_stream_buffer.html#a5401559e6e6a78fd0a7f6613368ac2b0">CStreamBuffer::_size</a></div><div class="ttdeci">size_t _size</div><div class="ttdef"><b>Definition:</b> <a href="_stream_byte_8h_source.html#l00093">StreamByte.h:93</a></div></div>
<div class="ttc" id="aclass_c_stream_buffer_html_a87fd2d92ca97257926f42f75df1884a5"><div class="ttname"><a href="class_c_stream_buffer.html#a87fd2d92ca97257926f42f75df1884a5">CStreamBuffer::operator[]</a></div><div class="ttdeci">virtual char &amp; operator[](int pos)</div><div class="ttdoc">重载下标运算符</div><div class="ttdef"><b>Definition:</b> <a href="_stream_byte_8cpp_source.html#l00135">StreamByte.cpp:135</a></div></div>
<div class="ttc" id="aclass_c_stream_iteator_html_ade5aeae600da801ff23baeb56d99c249"><div class="ttname"><a href="class_c_stream_iteator.html#ade5aeae600da801ff23baeb56d99c249">CStreamIteator::begin</a></div><div class="ttdeci">virtual char * begin()</div><div class="ttdoc">返回序列开始位置</div><div class="ttdef"><b>Definition:</b> <a href="_stream_byte_8cpp_source.html#l00031">StreamByte.cpp:31</a></div></div>
<div class="ttc" id="aclass_c_stream_buffer_html_a3b39de36fc32da3c0d02bd1f2d032034"><div class="ttname"><a href="class_c_stream_buffer.html#a3b39de36fc32da3c0d02bd1f2d032034">CStreamBuffer::clear</a></div><div class="ttdeci">virtual void clear()</div><div class="ttdef"><b>Definition:</b> <a href="_stream_byte_8cpp_source.html#l00067">StreamByte.cpp:67</a></div></div>
<div class="ttc" id="atools_8h_html_a201ce692c9dca6599e5c12d00167419b"><div class="ttname"><a href="tools_8h.html#a201ce692c9dca6599e5c12d00167419b">DEF_BEG_LIBTOOLS</a></div><div class="ttdeci">#define DEF_BEG_LIBTOOLS</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00036">tools.h:36</a></div></div>
<div class="ttc" id="aclass_c_stream_buffer_html_ad1801dff132d9c876d827510d457eedc"><div class="ttname"><a href="class_c_stream_buffer.html#ad1801dff132d9c876d827510d457eedc">CStreamBuffer::swap</a></div><div class="ttdeci">virtual void swap(CStreamBuffer &amp;st)</div><div class="ttdoc">交换两者内存</div><div class="ttdef"><b>Definition:</b> <a href="_stream_byte_8cpp_source.html#l00169">StreamByte.cpp:169</a></div></div>
<div class="ttc" id="aclass_c_stream_iteator_html_a0b71495cd931b33334f1c1fe3f5f1787"><div class="ttname"><a href="class_c_stream_iteator.html#a0b71495cd931b33334f1c1fe3f5f1787">CStreamIteator::_beg</a></div><div class="ttdeci">char * _beg</div><div class="ttdef"><b>Definition:</b> <a href="_stream_byte_8h_source.html#l00033">StreamByte.h:33</a></div></div>
<div class="ttc" id="aclass_c_stream_buffer_html_a1393d5c0b1a25daa0ae90ba9c4952bb2"><div class="ttname"><a href="class_c_stream_buffer.html#a1393d5c0b1a25daa0ae90ba9c4952bb2">CStreamBuffer::~CStreamBuffer</a></div><div class="ttdeci">virtual ~CStreamBuffer()</div><div class="ttdoc">析构函数释放空间</div><div class="ttdef"><b>Definition:</b> <a href="_stream_byte_8cpp_source.html#l00062">StreamByte.cpp:62</a></div></div>
<div class="ttc" id="aclass_c_stream_buffer_html_ac9b9bd381177307ec3386bc72b9a3ab6"><div class="ttname"><a href="class_c_stream_buffer.html#ac9b9bd381177307ec3386bc72b9a3ab6">CStreamBuffer::end</a></div><div class="ttdeci">virtual char * end()</div><div class="ttdoc">缓存结束位置</div><div class="ttdef"><b>Definition:</b> <a href="_stream_byte_8cpp_source.html#l00120">StreamByte.cpp:120</a></div></div>
<div class="ttc" id="aclass_c_stream_buffer_html_aa142871df4960e4d17167f56de651469"><div class="ttname"><a href="class_c_stream_buffer.html#aa142871df4960e4d17167f56de651469">CStreamBuffer::size</a></div><div class="ttdeci">virtual size_t size() const</div><div class="ttdoc">返回缓存大小</div><div class="ttdef"><b>Definition:</b> <a href="_stream_byte_8cpp_source.html#l00130">StreamByte.cpp:130</a></div></div>
<div class="ttc" id="aclass_c_stream_buffer_html_ae4d72e489f374e26b874025b5d88a6f4"><div class="ttname"><a href="class_c_stream_buffer.html#ae4d72e489f374e26b874025b5d88a6f4">CStreamBuffer::operator=</a></div><div class="ttdeci">CStreamBuffer &amp; operator=(const CStreamBuffer &amp;st)</div><div class="ttdef"><b>Definition:</b> <a href="_stream_byte_8cpp_source.html#l00146">StreamByte.cpp:146</a></div></div>
<div class="ttc" id="aclass_c_stream_buffer_html_a1b26d5da14524319ee316b2d9d483745"><div class="ttname"><a href="class_c_stream_buffer.html#a1b26d5da14524319ee316b2d9d483745">CStreamBuffer::begin</a></div><div class="ttdeci">virtual char * begin()</div><div class="ttdoc">缓存开始位置</div><div class="ttdef"><b>Definition:</b> <a href="_stream_byte_8cpp_source.html#l00110">StreamByte.cpp:110</a></div></div>
<div class="ttc" id="aclass_c_stream_buffer_html_a5397e21fdb40d00694312ffc652df314"><div class="ttname"><a href="class_c_stream_buffer.html#a5397e21fdb40d00694312ffc652df314">CStreamBuffer::assign</a></div><div class="ttdeci">virtual void assign(size_t size)</div><div class="ttdoc">重置size大小</div><div class="ttdef"><b>Definition:</b> <a href="_stream_byte_8cpp_source.html#l00077">StreamByte.cpp:77</a></div></div>
<div class="ttc" id="aclass_c_stream_buffer_html_ac9c6fd17ad2026709db6a80aa7346e42"><div class="ttname"><a href="class_c_stream_buffer.html#ac9c6fd17ad2026709db6a80aa7346e42">CStreamBuffer::CStreamBuffer</a></div><div class="ttdeci">CStreamBuffer()</div><div class="ttdoc">构造一个空缓存</div><div class="ttdef"><b>Definition:</b> <a href="_stream_byte_8cpp_source.html#l00041">StreamByte.cpp:41</a></div></div>
<div class="ttc" id="atools_8h_html_ac909db71799bb22cb7d636a34cd785e4"><div class="ttname"><a href="tools_8h.html#ac909db71799bb22cb7d636a34cd785e4">DEF_END_LIBTOOLS</a></div><div class="ttdeci">#define DEF_END_LIBTOOLS</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00038">tools.h:38</a></div></div>
<div class="ttc" id="aclass_c_stream_iteator_html_abd398f0c306bb0d8090328abdf29580a"><div class="ttname"><a href="class_c_stream_iteator.html#abd398f0c306bb0d8090328abdf29580a">CStreamIteator::cend</a></div><div class="ttdeci">virtual const char * cend() const</div><div class="ttdoc">返回序列结束位置</div><div class="ttdef"><b>Definition:</b> <a href="_stream_byte_8cpp_source.html#l00026">StreamByte.cpp:26</a></div></div>
<div class="ttc" id="aclass_c_stream_iteator_html_ae048daef59e1657314660005959e88e7"><div class="ttname"><a href="class_c_stream_iteator.html#ae048daef59e1657314660005959e88e7">CStreamIteator::end</a></div><div class="ttdeci">virtual char * end()</div><div class="ttdoc">返回序列结束为止</div><div class="ttdef"><b>Definition:</b> <a href="_stream_byte_8cpp_source.html#l00036">StreamByte.cpp:36</a></div></div>
<div class="ttc" id="aclass_c_stream_buffer_html"><div class="ttname"><a href="class_c_stream_buffer.html">CStreamBuffer</a></div><div class="ttdoc">buffer类</div><div class="ttdef"><b>Definition:</b> <a href="_stream_byte_8h_source.html#l00040">StreamByte.h:40</a></div></div>
<div class="ttc" id="aclass_c_stream_buffer_html_a53dc5d1a0c14f468da849de5376aec1d"><div class="ttname"><a href="class_c_stream_buffer.html#a53dc5d1a0c14f468da849de5376aec1d">CStreamBuffer::cend</a></div><div class="ttdeci">virtual const char * cend() const</div><div class="ttdoc">缓存结束位置</div><div class="ttdef"><b>Definition:</b> <a href="_stream_byte_8cpp_source.html#l00125">StreamByte.cpp:125</a></div></div>
<div class="ttc" id="aclass_c_stream_iteator_html_ac1a4325cec7f2bdbcf0f32684e0d12d8"><div class="ttname"><a href="class_c_stream_iteator.html#ac1a4325cec7f2bdbcf0f32684e0d12d8">CStreamIteator::size</a></div><div class="ttdeci">virtual size_t size() const</div><div class="ttdoc">返回序列字节大小</div><div class="ttdef"><b>Definition:</b> <a href="_stream_byte_8cpp_source.html#l00016">StreamByte.cpp:16</a></div></div>
<div class="ttc" id="aclass_c_stream_buffer_html_a96a491510c5e9f98e0bdb382b87a72e9"><div class="ttname"><a href="class_c_stream_buffer.html#a96a491510c5e9f98e0bdb382b87a72e9">CStreamBuffer::reserve</a></div><div class="ttdeci">virtual void reserve(size_t size)</div><div class="ttdoc">重置内存大小</div><div class="ttdef"><b>Definition:</b> <a href="_stream_byte_8cpp_source.html#l00095">StreamByte.cpp:95</a></div></div>
<div class="ttc" id="aclass_c_stream_iteator_html_a0099f615b4deffd3273c9c4d7cae4a91"><div class="ttname"><a href="class_c_stream_iteator.html#a0099f615b4deffd3273c9c4d7cae4a91">CStreamIteator::cbegin</a></div><div class="ttdeci">virtual const char * cbegin() const</div><div class="ttdoc">返回序列开始位置</div><div class="ttdef"><b>Definition:</b> <a href="_stream_byte_8cpp_source.html#l00021">StreamByte.cpp:21</a></div></div>
<div class="ttc" id="aclass_c_stream_iteator_html_a45891a9a8ac52a2eb90122276561506f"><div class="ttname"><a href="class_c_stream_iteator.html#a45891a9a8ac52a2eb90122276561506f">CStreamIteator::CStreamIteator</a></div><div class="ttdeci">CStreamIteator()</div><div class="ttdef"><b>Definition:</b> <a href="_stream_byte_8cpp_source.html#l00006">StreamByte.cpp:6</a></div></div>
<div class="ttc" id="atools_8h_html_ab689500aaec0db066e3ac9483d3fe425"><div class="ttname"><a href="tools_8h.html#ab689500aaec0db066e3ac9483d3fe425">NullPtr</a></div><div class="ttdeci">#define NullPtr</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00119">tools.h:119</a></div></div>
<div class="ttc" id="aclass_c_stream_buffer_html_a805cc466a664d1f533d1c8617bc49f36"><div class="ttname"><a href="class_c_stream_buffer.html#a805cc466a664d1f533d1c8617bc49f36">CStreamBuffer::copy_mem</a></div><div class="ttdeci">virtual const void * copy_mem(const void *dst, size_t size)</div><div class="ttdoc">拷贝固定长度大小内存</div><div class="ttdef"><b>Definition:</b> <a href="_stream_byte_8cpp_source.html#l00176">StreamByte.cpp:176</a></div></div>
<div class="ttc" id="aclass_c_stream_buffer_html_a101b52acd1aa627d6c5b1c5142e83731"><div class="ttname"><a href="class_c_stream_buffer.html#a101b52acd1aa627d6c5b1c5142e83731">CStreamBuffer::_data</a></div><div class="ttdeci">char * _data</div><div class="ttdef"><b>Definition:</b> <a href="_stream_byte_8h_source.html#l00092">StreamByte.h:92</a></div></div>
<div class="ttc" id="aclass_c_stream_buffer_html_a1fcd174f108c8fc5f486c4aa5656d745"><div class="ttname"><a href="class_c_stream_buffer.html#a1fcd174f108c8fc5f486c4aa5656d745">CStreamBuffer::data</a></div><div class="ttdeci">virtual char * data()</div><div class="ttdoc">返回数据指针</div><div class="ttdef"><b>Definition:</b> <a href="_stream_byte_8cpp_source.html#l00105">StreamByte.cpp:105</a></div></div>
<div class="ttc" id="a_stream_byte_8h_html"><div class="ttname"><a href="_stream_byte_8h.html">StreamByte.h</a></div></div>
<div class="ttc" id="aclass_c_stream_buffer_html_ad7cf1ca44456ef1435250109cee1bee5"><div class="ttname"><a href="class_c_stream_buffer.html#ad7cf1ca44456ef1435250109cee1bee5">CStreamBuffer::_max</a></div><div class="ttdeci">size_t _max</div><div class="ttdef"><b>Definition:</b> <a href="_stream_byte_8h_source.html#l00094">StreamByte.h:94</a></div></div>
<div class="ttc" id="aclass_c_stream_buffer_html_a73f9a99a28456cb04114ab30269a1470"><div class="ttname"><a href="class_c_stream_buffer.html#a73f9a99a28456cb04114ab30269a1470">CStreamBuffer::cbegin</a></div><div class="ttdeci">virtual const char * cbegin() const</div><div class="ttdoc">缓存开始位置</div><div class="ttdef"><b>Definition:</b> <a href="_stream_byte_8cpp_source.html#l00115">StreamByte.cpp:115</a></div></div>
<div class="ttc" id="aclass_c_stream_buffer_html_a36e220632732abe7840dd9fbb18511b8"><div class="ttname"><a href="class_c_stream_buffer.html#a36e220632732abe7840dd9fbb18511b8">CStreamBuffer::capacity</a></div><div class="ttdeci">virtual size_t capacity() const</div><div class="ttdoc">返回容量大小</div><div class="ttdef"><b>Definition:</b> <a href="_stream_byte_8cpp_source.html#l00090">StreamByte.cpp:90</a></div></div>
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.16
</small></address>
</body>
</html>
